{load header}
<!--/H-->

    <!-- 内容区 -->
    <div id="main-content">
        <div id="top-alert" class="fixed alert alert-error" style="display: none;">
            <button class="close fixed" style="margin-top: 4px;">&times;</button>
            <div class="alert-content">这是内容</div>
        </div>
        <div id="main" class="main">
        <!-- nav --><!-- nav -->
            
	<div class="main-title">
		<h2>app版本管理</h2>
	</div>

	<div class="cf">
		<a class="btn" href="{eval echo site_url('system/appversion_add')}">新增版本</a>
	</div>
	
	<div class="data-table table-striped">
		<table>
			<thead>
				<tr>
					<th>ID</th>
					<th>版本号</th>
					<th>系统类型</th>
                                        <th>应用类型</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<!--{loop $list $val}-->
				<tr>
					<td>{$val['id']}</td>
					<td>{$val['version']}</td>
                                        <td>
                                            {if $val['type'] == 1}
                                            Android
                                            {else}
                                            Ios
                                            {/if}
                                        </td>
                                        <td>
                                            {if $val['app_type'] == "tan66"}
                                            弹溜溜
                                            {else}
                                            溜溜钱包
                                            {/if}
                                        </td>
					<td>
                                            <a title="编辑" href="{eval echo site_url('system/appversion_edit')}?id={$val['id']}">编辑</a>
					</td>
				</tr>
				<!--{/loop}-->
			</tbody>
		</table>
		<!-- 分页 -->
	    <div class="page">
	        <div>
			{$showpage}
			<span class="rows">共 {$Total} 条记录</span>
			</div>
		</div>
		
	</div>

<!--F-->{load footer}